Skip to content

Reject funding after the invoice due date - #1722

Merged
mikewheeleer merged 2 commits into
Liquifact:mainfrom
Lynndabel:funding
Nov 24, 2026
Merged

mikewheeleer merged 2 commits into
Liquifact:mainfrom
Lynndabel:funding

Conversation

@Lynndabel

@Lynndabel Lynndabel commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

closes #1649

create injectable clock helper in src/utils/clock.js
Modify src/domain/returns.js to accept optional clock parameter
Update quote handler to use clock helper
Add maturity check to fund handler in src/routes/invoices.js
Add tests for maturity guard (yesterday, today, tomorrow)
Run tests to verify implementation

@drips-wave

drips-wave Bot commented Nov 24, 2026

Copy link
Copy Markdown

@Lynndabel Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@mikewheeleer
mikewheeleer merged commit 1ceb410 into Liquifact:main Nov 24, 2026
1 check passed
@mikewheeleer

Copy link
Copy Markdown
Contributor

Thanks @Lynndabel! We resolved the merge conflicts on our side and merged this. 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Reject funding after the invoice due date

2 participants